home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 23 / Amiga Format AFCD23 (Feb 1998, Issue 107).iso / -seriously_amiga- / shareware / programming / c / asyncio / src / requeuepacket.c < prev    next >
C/C++ Source or Header  |  1997-12-01  |  340b  |  17 lines

  1. #include "async.h"
  2.  
  3.  
  4. /* this function puts the packet back on the message list of our
  5.  * message port.
  6.  */
  7. VOID
  8. AS_RequeuePacket( AsyncFile *file )
  9. {
  10. #ifdef ASIO_NOEXTERNALS
  11.     struct ExecBase    *SysBase = file->af_SysBase;
  12. #endif
  13.  
  14.     AddHead( &file->af_PacketPort.mp_MsgList, &file->af_Packet.sp_Msg.mn_Node );
  15.     file->af_PacketPending = TRUE;
  16. }
  17.